package com.gopay.common.domain.user;

import com.gopay.common.constants.cust.PayPasswordQuesStatus;
import com.gopay.common.constants.trans.UserType;
import com.gopay.common.domain.BaseEntity;

public class UserPayPwdQuesResult extends BaseEntity {

    private static final long serialVersionUID = 8450721667001062613L;
    
    private PayPasswordQuesStatus payPwdQuesStatus;
    /**
     * 校验是否通过
     */
    private boolean isVerifySuccess;
    /**
     * 错误次数
     */
    private int totalErrCount;
    /**
     * 用户类型
     */
    private UserType userType;
    
    /**
     * 错误说明
     */
    private String errorMsg;

    public UserPayPwdQuesResult(){
        
    }
    
    public UserPayPwdQuesResult(PayPasswordQuesStatus payPwdQuesStatus, boolean isVerifySuccess, int totalErrCount,
            UserType userType, String errorMsg) {
        super();
        this.payPwdQuesStatus = payPwdQuesStatus;
        this.isVerifySuccess = isVerifySuccess;
        this.totalErrCount = totalErrCount;
        this.userType = userType;
        this.errorMsg = errorMsg;
    }

    public PayPasswordQuesStatus getPayPwdQuesStatus() {
        return payPwdQuesStatus;
    }

    public void setPayPwdQuesStatus(PayPasswordQuesStatus payPwdQuesStatus) {
        this.payPwdQuesStatus = payPwdQuesStatus;
    }

    public boolean isVerifySuccess() {
        return isVerifySuccess;
    }

    public void setVerifySuccess(boolean isVerifySuccess) {
        this.isVerifySuccess = isVerifySuccess;
    }

    public int getTotalErrCount() {
        return totalErrCount;
    }

    public void setTotalErrCount(int totalErrCount) {
        this.totalErrCount = totalErrCount;
    }

    public UserType getUserType() {
        return userType;
    }

    public void setUserType(UserType userType) {
        this.userType = userType;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
    
    
}
